package com.spic.business.violation.supervision.speed.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.annotation.Excel;
import com.spic.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 车辆管理对象 violations_vehicle_management
 *
 * @author yangjie
 * @date 2021-10-12
 */
@Data
public class ViolationsVehicleManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 责任部门 */
    @Excel(name = "责任部门",cahceType = Excel.CacheType.DEPT)
    private String responsibilityDepartment;

    /** 车辆管理员 */
    @Excel(name = "车辆管理员",cahceType = Excel.CacheType.USER)
    private String carWarden;

    /** 部门主任 */
    @Excel(name = "部门主任",cahceType = Excel.CacheType.USER)
    private String deptDirector;

    /** 车牌号或者车辆编号 */
    @Excel(name = "车牌号或者车辆编号")
    private String vehicleNumber;


    /** 创建人（用户权限过滤） */
    @TableField(fill = FieldFill.INSERT)
    protected String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    protected Date createTime;

    /** 更新者 */
    @TableField(fill = FieldFill.UPDATE)
    protected String updateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(fill = FieldFill.UPDATE)
    protected Date updateTime;


}
